--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  C:\Users\mvl\Downloads\dataverse_files\content_results.log
  log type:  text
 opened on:  24 Jan 2017, 08:38:30

. 
. 
. **Drawing figure 2 
. reg eptopic i.date

      Source |       SS       df       MS              Number of obs =    2248
-------------+------------------------------           F( 51,  2196) =    6.15
       Model |  42.9190383    51  .841549771           Prob > F      =  0.0000
    Residual |  300.486211  2196  .136833429           R-squared     =  0.1250
-------------+------------------------------           Adj R-squared =  0.1047
       Total |  343.405249  2247  .152828326           Root MSE      =  .36991

------------------------------------------------------------------------------
     eptopic |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
        date |
          1  |       -.08   .0604061    -1.32   0.186     -.198459     .038459
          2  |  -.2321212   .0624314    -3.72   0.000     -.354552   -.1096904
          3  |  -.1738462   .0667522    -2.60   0.009    -.3047502   -.0429421
          4  |  -.2242254   .0612509    -3.66   0.000    -.3443412   -.1041095
          5  |  -.1866667   .0632171    -2.95   0.003    -.3106383    -.062695
          6  |  -.2472727   .0702445    -3.52   0.000    -.3850254     -.10952
          7  |    -.17625   .0629481    -2.80   0.005    -.2996941   -.0528059
          8  |  -.1097436   .0730274    -1.50   0.133    -.2529535    .0334663
          9  |  -.2908333    .068375    -4.25   0.000    -.4249198   -.1567469
         10  |   -.254375   .0629481    -4.04   0.000    -.3778191   -.1309309
         11  |  -.2111765   .0619411    -3.41   0.001    -.3326458   -.0897072
         12  |       -.27    .068375    -3.95   0.000    -.4040865   -.1359135
         13  |  -.1795745   .0688171    -2.61   0.009    -.3145279    -.044621
         14  |  -.4179592   .0679483    -6.15   0.000    -.5512087   -.2847096
         15  |  -.3381818   .0656683    -5.15   0.000    -.4669603   -.2094033
         16  |  -.2580952   .0712908    -3.62   0.000    -.3978998   -.1182907
         17  |  -.3131034   .0646811    -4.84   0.000     -.439946   -.1862609
         18  |       -.36    .067536    -5.33   0.000    -.4924412   -.2275588
         19  |  -.3644444   .0697509    -5.22   0.000    -.5012291   -.2276598
         20  |  -.3004878    .071846    -4.18   0.000     -.441381   -.1595946
         21  |  -.1866667   .0799097    -2.34   0.020    -.3433732   -.0299602
         22  |  -.3578378   .0743145    -4.82   0.000    -.5035719   -.2121037
         23  |    -.42625   .0781056    -5.46   0.000    -.5794187   -.2730813
         24  |  -.3533333   .0750025    -4.71   0.000    -.5004166   -.2062501
         25  |  -.4232258   .0789837    -5.36   0.000    -.5781164   -.2683352
         26  |  -.4687179   .0730274    -6.42   0.000    -.6119279    -.325508
         27  |  -.3684848   .0772717    -4.77   0.000    -.5200181   -.2169516
         28  |  -.4009524   .0712908    -5.62   0.000    -.5407569   -.2611478
         29  |       -.52   .0799097    -6.51   0.000    -.6767065   -.3632935
         30  |  -.4410526   .0736568    -5.99   0.000    -.5854969   -.2966083
         31  |  -.3587097   .0789837    -4.54   0.000    -.5136003   -.2038191
         32  |  -.4383673   .0679483    -6.45   0.000    -.5716169   -.3051178
         33  |  -.3492683    .071846    -4.86   0.000    -.4901615   -.2083751
         34  |       -.52   .1150097    -4.52   0.000    -.7455392   -.2944608
         35  |  -.4611765   .0764785    -6.03   0.000    -.6111542   -.3111987
         36  |      -.445   .0724243    -6.14   0.000    -.5870273   -.3029727
         37  |       -.52   .1046264    -4.97   0.000     -.725177    -.314823
         38  |  -.4877419   .0789837    -6.18   0.000    -.6426325   -.3328513
         39  |       -.52   .0750025    -6.93   0.000    -.6670833   -.3729167
         40  |       -.52   .0736568    -7.06   0.000    -.6644443   -.3755557
         41  |  -.4389189   .0743145    -5.91   0.000     -.584653   -.2931848
         42  |  -.4554839   .0789837    -5.77   0.000    -.6103745   -.3005933
         43  |  -.4877419   .0789837    -6.18   0.000    -.6426325   -.3328513
         44  |     -.4575   .0781056    -5.86   0.000    -.6106687   -.3043313
         45  |   -.494359   .0730274    -6.77   0.000    -.6375689    -.351149
         46  |      -.495   .0724243    -6.83   0.000    -.6370273   -.3529727
         47  |       -.52   .0743145    -7.00   0.000    -.6657341   -.3742659
         48  |  -.4914286    .075723    -6.49   0.000    -.6399248   -.3429324
         49  |  -.4174359   .0730274    -5.72   0.000    -.5606458    -.274226
         50  |   -.492973   .0743145    -6.63   0.000    -.6387071   -.3472389
         51  |  -.4807843   .0671376    -7.16   0.000    -.6124441   -.3491245
             |
       _cons |        .52   .0427135    12.17   0.000     .4362369    .6037631
------------------------------------------------------------------------------

. margins, over(date)

Predictive margins                                Number of obs   =       2248
Model VCE    : OLS

Expression   : Linear prediction, predict()
over         : date

------------------------------------------------------------------------------
             |            Delta-method
             |     Margin   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
        date |
          0  |        .52   .0427135    12.17   0.000     .4362369    .6037631
          1  |        .44   .0427135    10.30   0.000     .3562369    .5237631
          2  |   .2878788   .0455328     6.32   0.000      .198587    .3771706
          3  |   .3461538   .0512973     6.75   0.000     .2455576    .4467501
          4  |   .2957746   .0439002     6.74   0.000     .2096843     .381865
          5  |   .3333333   .0466043     7.15   0.000     .2419402    .4247264
          6  |   .2727273    .055766     4.89   0.000     .1633676     .382087
          7  |     .34375   .0462388     7.43   0.000     .2530737    .4344263
          8  |   .4102564    .059233     6.93   0.000     .2940978     .526415
          9  |   .2291667   .0533919     4.29   0.000     .1244627    .3338706
         10  |    .265625   .0462388     5.74   0.000     .1749487    .3563013
         11  |   .3088235   .0448582     6.88   0.000     .2208546    .3967924
         12  |        .25   .0533919     4.68   0.000     .1452961    .3547039
         13  |   .3404255   .0539569     6.31   0.000     .2346136    .4462375
         14  |   .1020408   .0528443     1.93   0.054    -.0015892    .2056708
         15  |   .1818182   .0498787     3.65   0.000     .0840039    .2796325
         16  |   .2619048   .0570784     4.59   0.000     .1499715     .373838
         17  |   .2068966   .0485716     4.26   0.000     .1116455    .3021476
         18  |        .16   .0523132     3.06   0.002     .0574115    .2625885
         19  |   .1555556   .0551429     2.82   0.005     .0474178    .2636933
         20  |   .2195122   .0577702     3.80   0.000     .1062222    .3328022
         21  |   .3333333    .067536     4.94   0.000     .2008922    .4657745
         22  |   .1621622   .0608128     2.67   0.008     .0429055    .2814189
         23  |     .09375   .0653915     1.43   0.152    -.0344856    .2219856
         24  |   .1666667   .0616517     2.70   0.007      .045765    .2875684
         25  |   .0967742   .0664378     1.46   0.145    -.0335133    .2270617
         26  |   .0512821    .059233     0.87   0.387    -.0648765    .1674406
         27  |   .1515152   .0643931     2.35   0.019     .0252375    .2777929
         28  |   .1190476   .0570784     2.09   0.037     .0071144    .2309808
         29  |   2.22e-16    .067536     0.00   1.000    -.1324412    .1324412
         30  |   .0789474   .0600073     1.32   0.188    -.0387297    .1966244
         31  |   .1612903   .0664378     2.43   0.015     .0310028    .2915778
         32  |   .0816327   .0528443     1.54   0.123    -.0219974    .1852627
         33  |   .1707317   .0577702     2.96   0.003     .0574417    .2840217
         34  |   1.11e-16   .1067838     0.00   1.000    -.2094079    .2094079
         35  |   .0588235    .063439     0.93   0.354    -.0655833    .1832303
         36  |       .075   .0584879     1.28   0.200    -.0396974    .1896974
         37  |          0   .0955104     0.00   1.000    -.1873001    .1873001
         38  |   .0322581   .0664378     0.49   0.627    -.0980294    .1625456
         39  |   1.11e-16   .0616517     0.00   1.000    -.1209017    .1209017
         40  |          0   .0600073     0.00   1.000    -.1176771    .1176771
         41  |   .0810811   .0608128     1.33   0.183    -.0381756    .2003378
         42  |   .0645161   .0664378     0.97   0.332    -.0657714    .1948036
         43  |   .0322581   .0664378     0.49   0.627    -.0980294    .1625456
         44  |      .0625   .0653915     0.96   0.339    -.0657356    .1907356
         45  |    .025641    .059233     0.43   0.665    -.0905176    .1417996
         46  |       .025   .0584879     0.43   0.669    -.0896974    .1396974
         47  |   1.11e-16   .0608128     0.00   1.000    -.1192567    .1192567
         48  |   .0285714   .0625262     0.46   0.648    -.0940453    .1511881
         49  |   .1025641    .059233     1.73   0.083    -.0135945    .2187227
         50  |    .027027   .0608128     0.44   0.657    -.0922297    .1462837
         51  |   .0392157   .0517978     0.76   0.449    -.0623621    .1407934
------------------------------------------------------------------------------

. marginsplot, scheme(s2mono) graphregion(color(white)) ///
> title(" ") xscale(reverse) ytitle("Proportion of news stories" "mentioning the EP campaign" " ", size(large)) ///
> xtitle(" ""Weeks untill election day", size(large)) ylabe(0(0.1)0.6) ///
> ymtick(0(0.05)0.6) xlabel(0 "0" 14 "2"  28 "4" 42 "6" 56 "8")   yline(0)

  Variables that uniquely identify margins: date

. 
. graph export figure2.eps, replace
(note: file figure2.eps not found)
(file figure2.eps written in EPS format)

. 
. *looking at fraction of EU tories which featured different national political actors
. ta actor //0=others, parties and government represented roughly 40 pct.

  Political actor mentioned |
                in EU story |      Freq.     Percent        Cum.
----------------------------+-----------------------------------
                          0 |        756       61.02       61.02
         Red Green Alliance |         10        0.81       61.82
    Socialist Peoples Party |         31        2.50       64.33
           Social Democrats |         57        4.60       68.93
            Social Liberals |         18        1.45       70.38
              Conservatives |         35        2.82       73.20
              Liberal Party |         80        6.46       79.66
       Danish Peoples Party |         79        6.38       86.04
Peoples Movement Against EU |         34        2.74       88.78
           Liberal Alliance |         15        1.21       89.99
             The government |        124       10.01      100.00
----------------------------+-----------------------------------
                      Total |      1,239      100.00

. ta mep //roughly 25 pct. featured MEPS

   Story is |
centered on |
 Danish MEP |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |        941       76.07       76.07
          1 |        296       23.93      100.00
------------+-----------------------------------
      Total |      1,237      100.00

. 
. *Looking at distribution of political actors in stories about the EU which mentioned national political actors
. ta actor if actor!=0 

  Political actor mentioned |
                in EU story |      Freq.     Percent        Cum.
----------------------------+-----------------------------------
         Red Green Alliance |         10        2.07        2.07
    Socialist Peoples Party |         31        6.42        8.49
           Social Democrats |         57       11.80       20.29
            Social Liberals |         18        3.73       24.02
              Conservatives |         35        7.25       31.26
              Liberal Party |         80       16.56       47.83
       Danish Peoples Party |         79       16.36       64.18
Peoples Movement Against EU |         34        7.04       71.22
           Liberal Alliance |         15        3.11       74.33
             The government |        124       25.67      100.00
----------------------------+-----------------------------------
                      Total |        483      100.00

. 
. *adding up frequencies for anti-EU parties
. di 2.07 + 16.36 + 7.04 + 3.11 
28.58

. 
. log close
      name:  <unnamed>
       log:  C:\Users\mvl\Downloads\dataverse_files\content_results.log
  log type:  text
 closed on:  24 Jan 2017, 08:38:33
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
